

<template>
  <el-select  v-model="root.form[currentItem.field]" placeholder="请选择" v-bind="$attrs">
    <el-option
      v-for="item in options"
      :key="item[currentItem.optionsValue]"
      :label="item[currentItem.optionsLabel]"
      :value="item[currentItem.optionsValue]">
    </el-option>
  </el-select>
</template>
<script>

import CommonRender from "./commonRender";
export default {
  name:"RenderSelect",
  mixins:[CommonRender],
  inject:["root"],
}
</script>
<style scoped lang="scss">

</style>
